package com.iot08.api.vo.request;

import com.iot08.api.vo.request.base.BodyForm;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * @author cwj
 * @description
 * @date 2024/11/20 14:11
 **/
@Data
public class AccountsReqBodyFormVO extends BodyForm implements Serializable {

    private String id;

    private String name;

    private String avator;

    private String sex;

    private String unionid; //QQ的unionid 或者 微信的unionid

    private String mobile_type; //[ios、android]

    private String token;

    private Integer country_code;

    private String phone;

    private String email;

    // 推送的唯一标示 (新版APP必传)
    private String registrationID;

    private String imei;

    private String password;

    @Min(value = 0, message = "参数type不能小于0")
    private Integer type; // 1:QQ 2:微信 4:公众号登录 5:手机号 6:邮箱登录 7:apple登录 8:小程序:词典笔

    private String openid;

    private String accesstoken;

}
